<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::LabeledData&lt; InputT, LabelT &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_labeled_data-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle"><div class="title">shark::LabeledData&lt; InputT, LabelT &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classshark_1_1_data.html" title="Data container.">Data</a> set for supervised learning.  
 <a href="classshark_1_1_labeled_data.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_dataset_8h_source.html">shark/Data/Dataset.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::LabeledData&lt; InputT, LabelT &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_labeled_data__inherit__graph.png" border="0" usemap="#ashark_1_1_labeled_data_3_01_input_t_00_01_label_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_labeled_data_3_01_input_t_00_01_label_t_01_4_inherit__map" id="ashark_1_1_labeled_data_3_01_input_t_00_01_label_t_01_4_inherit__map">
<area shape="rect" title="Data set for supervised learning." alt="" coords="5,79,140,120"/>
<area shape="rect" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality." alt="" coords="6,5,139,31"/>
<area shape="poly" title=" " alt="" coords="75,46,75,79,70,79,70,46"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ga95ca0435602c7446d1e5120d07f970af" id="r_ga95ca0435602c7446d1e5120d07f970af"><td class="memItemLeft" align="right" valign="top">typedef InputT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a></td></tr>
<tr class="separator:ga95ca0435602c7446d1e5120d07f970af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafce8ad49b878be9a9a00d43c2f0e7855" id="r_gafce8ad49b878be9a9a00d43c2f0e7855"><td class="memItemLeft" align="right" valign="top">typedef LabelT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a></td></tr>
<tr class="separator:gafce8ad49b878be9a9a00d43c2f0e7855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga625c6a82bf244c493a35c90b029f8c87" id="r_ga625c6a82bf244c493a35c90b029f8c87"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_unlabeled_data.html">UnlabeledData</a>&lt; InputT &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga625c6a82bf244c493a35c90b029f8c87">InputContainer</a></td></tr>
<tr class="separator:ga625c6a82bf244c493a35c90b029f8c87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf481fd43ec8fb355cd2cc7f8076b3962" id="r_gaf481fd43ec8fb355cd2cc7f8076b3962"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_data.html">Data</a>&lt; LabelT &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gaf481fd43ec8fb355cd2cc7f8076b3962">LabelContainer</a></td></tr>
<tr class="separator:gaf481fd43ec8fb355cd2cc7f8076b3962"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee99a1f7070bf91bd40cd660fc9411b4" id="r_gaee99a1f7070bf91bd40cd660fc9411b4"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__shark__globals.html#ga3765fd3c920db97545a11dca09b75224">InputContainer::IndexSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gaee99a1f7070bf91bd40cd660fc9411b4">IndexSet</a></td></tr>
<tr class="separator:gaee99a1f7070bf91bd40cd660fc9411b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6dcbd080f9f9ab3fa3e1e90ba7ca9dc8" id="r_ga6dcbd080f9f9ab3fa3e1e90ba7ca9dc8"><td class="memItemLeft" align="right" valign="top">typedef InputLabelBatch&lt; typename <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a> &gt;::type &amp;, typename <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a> &gt;::type &amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga6dcbd080f9f9ab3fa3e1e90ba7ca9dc8">batch_reference</a></td></tr>
<tr class="separator:ga6dcbd080f9f9ab3fa3e1e90ba7ca9dc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4068b98a58ae69560e458afc8f57c511" id="r_ga4068b98a58ae69560e458afc8f57c511"><td class="memItemLeft" align="right" valign="top">typedef InputLabelBatch&lt; typename <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a> &gt;::type const  &amp;, typename <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a> &gt;::type const  &amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga4068b98a58ae69560e458afc8f57c511">const_batch_reference</a></td></tr>
<tr class="separator:ga4068b98a58ae69560e458afc8f57c511"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c44f3de22b4fa1d1f28a86fafcf96b0" id="r_ga5c44f3de22b4fa1d1f28a86fafcf96b0"><td class="memItemLeft" align="right" valign="top">typedef batch_reference::reference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga5c44f3de22b4fa1d1f28a86fafcf96b0">element_reference</a></td></tr>
<tr class="separator:ga5c44f3de22b4fa1d1f28a86fafcf96b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04ea4c6c5368461a8bafa49001695b7d" id="r_ga04ea4c6c5368461a8bafa49001695b7d"><td class="memItemLeft" align="right" valign="top">typedef const_batch_reference::const_reference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga04ea4c6c5368461a8bafa49001695b7d">const_element_reference</a></td></tr>
<tr class="separator:ga04ea4c6c5368461a8bafa49001695b7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4e8fae144bffa51788924d868cace1b" id="r_gab4e8fae144bffa51788924d868cace1b"><td class="memItemLeft" align="right" valign="top">typedef boost::iterator_range&lt; detail::DataElementIterator&lt; <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a>, <a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a> &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gab4e8fae144bffa51788924d868cace1b">element_range</a></td></tr>
<tr class="separator:gab4e8fae144bffa51788924d868cace1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga768dbd90d9f89fa968cd4c2c279a68eb" id="r_ga768dbd90d9f89fa968cd4c2c279a68eb"><td class="memItemLeft" align="right" valign="top">typedef boost::iterator_range&lt; detail::DataElementIterator&lt; <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a>, <a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a> &gt; const  &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga768dbd90d9f89fa968cd4c2c279a68eb">const_element_range</a></td></tr>
<tr class="separator:ga768dbd90d9f89fa968cd4c2c279a68eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3dadfd210c18bfe97b897d25eb49ac8" id="r_gab3dadfd210c18bfe97b897d25eb49ac8"><td class="memItemLeft" align="right" valign="top">typedef detail::BatchRange&lt; <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a>, <a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gab3dadfd210c18bfe97b897d25eb49ac8">batch_range</a></td></tr>
<tr class="separator:gab3dadfd210c18bfe97b897d25eb49ac8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5270d17d2c684dca942c8b23f0b083f" id="r_gae5270d17d2c684dca942c8b23f0b083f"><td class="memItemLeft" align="right" valign="top">typedef detail::BatchRange&lt; <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a>, <a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a> &gt; const  &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gae5270d17d2c684dca942c8b23f0b083f">const_batch_range</a></td></tr>
<tr class="separator:gae5270d17d2c684dca942c8b23f0b083f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ga63e2615845814fee2e8b5773a9d4048f" id="r_ga63e2615845814fee2e8b5773a9d4048f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#ga768dbd90d9f89fa968cd4c2c279a68eb">const_element_range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga63e2615845814fee2e8b5773a9d4048f">elements</a> () const</td></tr>
<tr class="memdesc:ga63e2615845814fee2e8b5773a9d4048f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the range of elements.  <br /></td></tr>
<tr class="separator:ga63e2615845814fee2e8b5773a9d4048f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ab86bfc3c2251f6c4990ddd277c3569" id="r_ga0ab86bfc3c2251f6c4990ddd277c3569"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#gab4e8fae144bffa51788924d868cace1b">element_range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga0ab86bfc3c2251f6c4990ddd277c3569">elements</a> ()</td></tr>
<tr class="memdesc:ga0ab86bfc3c2251f6c4990ddd277c3569"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns therange of elements.  <br /></td></tr>
<tr class="separator:ga0ab86bfc3c2251f6c4990ddd277c3569"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c3b7d09e870412534ef27988b950fc6" id="r_ga6c3b7d09e870412534ef27988b950fc6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#gae5270d17d2c684dca942c8b23f0b083f">const_batch_range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga6c3b7d09e870412534ef27988b950fc6">batches</a> () const</td></tr>
<tr class="memdesc:ga6c3b7d09e870412534ef27988b950fc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the range of batches.  <br /></td></tr>
<tr class="separator:ga6c3b7d09e870412534ef27988b950fc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5d88e084735a9b685c79a73c133ee7e" id="r_gaf5d88e084735a9b685c79a73c133ee7e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#gab3dadfd210c18bfe97b897d25eb49ac8">batch_range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gaf5d88e084735a9b685c79a73c133ee7e">batches</a> ()</td></tr>
<tr class="memdesc:gaf5d88e084735a9b685c79a73c133ee7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the range of batches.  <br /></td></tr>
<tr class="separator:gaf5d88e084735a9b685c79a73c133ee7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaca4b1e6083184385dba76a21b4c1d42b" id="r_gaca4b1e6083184385dba76a21b4c1d42b"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gaca4b1e6083184385dba76a21b4c1d42b">numberOfBatches</a> () const</td></tr>
<tr class="memdesc:gaca4b1e6083184385dba76a21b4c1d42b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of batches of the set.  <br /></td></tr>
<tr class="separator:gaca4b1e6083184385dba76a21b4c1d42b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5333445992cd6b14392cd80a1ab5403c" id="r_ga5333445992cd6b14392cd80a1ab5403c"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga5333445992cd6b14392cd80a1ab5403c">numberOfElements</a> () const</td></tr>
<tr class="memdesc:ga5333445992cd6b14392cd80a1ab5403c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the total number of elements.  <br /></td></tr>
<tr class="separator:ga5333445992cd6b14392cd80a1ab5403c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30ea533b248897b6d97bc1d62293e362" id="r_ga30ea533b248897b6d97bc1d62293e362"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga30ea533b248897b6d97bc1d62293e362">empty</a> () const</td></tr>
<tr class="memdesc:ga30ea533b248897b6d97bc1d62293e362"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether the set is empty.  <br /></td></tr>
<tr class="separator:ga30ea533b248897b6d97bc1d62293e362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f74e657c7e0c8a32b2456fb328bd653" id="r_ga6f74e657c7e0c8a32b2456fb328bd653"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#ga625c6a82bf244c493a35c90b029f8c87">InputContainer</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga6f74e657c7e0c8a32b2456fb328bd653">inputs</a> () const</td></tr>
<tr class="memdesc:ga6f74e657c7e0c8a32b2456fb328bd653"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to inputs as a separate container.  <br /></td></tr>
<tr class="separator:ga6f74e657c7e0c8a32b2456fb328bd653"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07aca32d61711242a04d299db7be73a1" id="r_ga07aca32d61711242a04d299db7be73a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#ga625c6a82bf244c493a35c90b029f8c87">InputContainer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga07aca32d61711242a04d299db7be73a1">inputs</a> ()</td></tr>
<tr class="memdesc:ga07aca32d61711242a04d299db7be73a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to inputs as a separate container.  <br /></td></tr>
<tr class="separator:ga07aca32d61711242a04d299db7be73a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6328a5aa2570c01a5ac5f25076071663" id="r_ga6328a5aa2570c01a5ac5f25076071663"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#gaf481fd43ec8fb355cd2cc7f8076b3962">LabelContainer</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga6328a5aa2570c01a5ac5f25076071663">labels</a> () const</td></tr>
<tr class="memdesc:ga6328a5aa2570c01a5ac5f25076071663"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to labels as a separate container.  <br /></td></tr>
<tr class="separator:ga6328a5aa2570c01a5ac5f25076071663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafecc4ffc759f9535a1ffbabfaa6e6c11" id="r_gafecc4ffc759f9535a1ffbabfaa6e6c11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#gaf481fd43ec8fb355cd2cc7f8076b3962">LabelContainer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gafecc4ffc759f9535a1ffbabfaa6e6c11">labels</a> ()</td></tr>
<tr class="memdesc:gafecc4ffc759f9535a1ffbabfaa6e6c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to labels as a separate container.  <br /></td></tr>
<tr class="separator:gafecc4ffc759f9535a1ffbabfaa6e6c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb49015294f7ca2d8d79e3cd90814468" id="r_gacb49015294f7ca2d8d79e3cd90814468"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gacb49015294f7ca2d8d79e3cd90814468">LabeledData</a> ()</td></tr>
<tr class="memdesc:gacb49015294f7ca2d8d79e3cd90814468"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty data set.  <br /></td></tr>
<tr class="separator:gacb49015294f7ca2d8d79e3cd90814468"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab30206d1bdfee9c8676048979a6abc8d" id="r_gab30206d1bdfee9c8676048979a6abc8d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gab30206d1bdfee9c8676048979a6abc8d">LabeledData</a> (std::size_t numBatches)</td></tr>
<tr class="memdesc:gab30206d1bdfee9c8676048979a6abc8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty set with just the correct number of batches.  <br /></td></tr>
<tr class="separator:gab30206d1bdfee9c8676048979a6abc8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1c3ece164521531ad9d35f236740370" id="r_gab1c3ece164521531ad9d35f236740370"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gab1c3ece164521531ad9d35f236740370">LabeledData</a> (std::size_t size, element_type const &amp;<a class="el" href="group__shark__globals.html#gaec57b5f22b3e8d2d67ad4b621f30fd54">element</a>, std::size_t <a class="el" href="namespaceshark.html#af2ab10364feb8a631e0866dcf2f1a4ad">batchSize</a>=<a class="el" href="group__shark__globals.html#gad0796fae6f819e8ca309dea4247621be">DefaultBatchSize</a>)</td></tr>
<tr class="separator:gab1c3ece164521531ad9d35f236740370"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8bd9251209d0aa390d1da4d6e839861e" id="r_ga8bd9251209d0aa390d1da4d6e839861e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga8bd9251209d0aa390d1da4d6e839861e">LabeledData</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a> &gt; const &amp;<a class="el" href="group__shark__globals.html#ga6f74e657c7e0c8a32b2456fb328bd653">inputs</a>, <a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a> &gt; const &amp;<a class="el" href="group__shark__globals.html#ga6328a5aa2570c01a5ac5f25076071663">labels</a>)</td></tr>
<tr class="memdesc:ga8bd9251209d0aa390d1da4d6e839861e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construction from data.  <br /></td></tr>
<tr class="separator:ga8bd9251209d0aa390d1da4d6e839861e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec57b5f22b3e8d2d67ad4b621f30fd54" id="r_gaec57b5f22b3e8d2d67ad4b621f30fd54"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#ga5c44f3de22b4fa1d1f28a86fafcf96b0">element_reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gaec57b5f22b3e8d2d67ad4b621f30fd54">element</a> (std::size_t i)</td></tr>
<tr class="separator:gaec57b5f22b3e8d2d67ad4b621f30fd54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga958caad3a5b350e5687df89bf9833587" id="r_ga958caad3a5b350e5687df89bf9833587"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#ga04ea4c6c5368461a8bafa49001695b7d">const_element_reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga958caad3a5b350e5687df89bf9833587">element</a> (std::size_t i) const</td></tr>
<tr class="separator:ga958caad3a5b350e5687df89bf9833587"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga192f5eced10acf38f3ae723a3c400d98" id="r_ga192f5eced10acf38f3ae723a3c400d98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#ga6dcbd080f9f9ab3fa3e1e90ba7ca9dc8">batch_reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga192f5eced10acf38f3ae723a3c400d98">batch</a> (std::size_t i)</td></tr>
<tr class="separator:ga192f5eced10acf38f3ae723a3c400d98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga575c51a098b17178c4443c6ffe98d8db" id="r_ga575c51a098b17178c4443c6ffe98d8db"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#ga4068b98a58ae69560e458afc8f57c511">const_batch_reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga575c51a098b17178c4443c6ffe98d8db">batch</a> (std::size_t i) const</td></tr>
<tr class="separator:ga575c51a098b17178c4443c6ffe98d8db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga134d41e34c69c494346367a570bf4ff8" id="r_ga134d41e34c69c494346367a570bf4ff8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga134d41e34c69c494346367a570bf4ff8">inputShape</a> () const</td></tr>
<tr class="memdesc:ga134d41e34c69c494346367a570bf4ff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> of the inputs.  <br /></td></tr>
<tr class="separator:ga134d41e34c69c494346367a570bf4ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3eace53afd7b57c7ba1b1619a43a1f97" id="r_ga3eace53afd7b57c7ba1b1619a43a1f97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga3eace53afd7b57c7ba1b1619a43a1f97">inputShape</a> ()</td></tr>
<tr class="memdesc:ga3eace53afd7b57c7ba1b1619a43a1f97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> of the inputs.  <br /></td></tr>
<tr class="separator:ga3eace53afd7b57c7ba1b1619a43a1f97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7f3308a970a6f4fe96aebf23755a6430" id="r_ga7f3308a970a6f4fe96aebf23755a6430"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga7f3308a970a6f4fe96aebf23755a6430">labelShape</a> () const</td></tr>
<tr class="memdesc:ga7f3308a970a6f4fe96aebf23755a6430"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> of the labels.  <br /></td></tr>
<tr class="separator:ga7f3308a970a6f4fe96aebf23755a6430"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga71c45aa6968c8e9ea6ca43ab13f4b9a7" id="r_ga71c45aa6968c8e9ea6ca43ab13f4b9a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga71c45aa6968c8e9ea6ca43ab13f4b9a7">labelShape</a> ()</td></tr>
<tr class="memdesc:ga71c45aa6968c8e9ea6ca43ab13f4b9a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classshark_1_1_shape.html" title="Represents the Shape of an input or output.">Shape</a> of the labels.  <br /></td></tr>
<tr class="separator:ga71c45aa6968c8e9ea6ca43ab13f4b9a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga846df24c10a85b0454cf06cabe55dcc2" id="r_ga846df24c10a85b0454cf06cabe55dcc2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga846df24c10a85b0454cf06cabe55dcc2">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:ga846df24c10a85b0454cf06cabe55dcc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>  <br /></td></tr>
<tr class="separator:ga846df24c10a85b0454cf06cabe55dcc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2c0f1e5f794eb3c7e1c9d644ac6d0c1" id="r_gad2c0f1e5f794eb3c7e1c9d644ac6d0c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gad2c0f1e5f794eb3c7e1c9d644ac6d0c1">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:gad2c0f1e5f794eb3c7e1c9d644ac6d0c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>  <br /></td></tr>
<tr class="separator:gad2c0f1e5f794eb3c7e1c9d644ac6d0c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a4a7922424072317ec868221e19e075" id="r_ga5a4a7922424072317ec868221e19e075"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga5a4a7922424072317ec868221e19e075">makeIndependent</a> ()</td></tr>
<tr class="memdesc:ga5a4a7922424072317ec868221e19e075"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method makes the vector independent of all siblings and parents.  <br /></td></tr>
<tr class="separator:ga5a4a7922424072317ec868221e19e075"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac30b58de795e18e98901cd96b6b22d45" id="r_gac30b58de795e18e98901cd96b6b22d45"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gac30b58de795e18e98901cd96b6b22d45">splitBatch</a> (std::size_t <a class="el" href="group__shark__globals.html#ga192f5eced10acf38f3ae723a3c400d98">batch</a>, std::size_t elementIndex)</td></tr>
<tr class="separator:gac30b58de795e18e98901cd96b6b22d45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0ea94e3e28b6df4e12fcbe8040293ac" id="r_gaf0ea94e3e28b6df4e12fcbe8040293ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gaf0ea94e3e28b6df4e12fcbe8040293ac">splice</a> (std::size_t <a class="el" href="group__shark__globals.html#ga192f5eced10acf38f3ae723a3c400d98">batch</a>)</td></tr>
<tr class="memdesc:gaf0ea94e3e28b6df4e12fcbe8040293ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Splits the container into two independent parts. The left part remains in the container, the right is stored as return type.  <br /></td></tr>
<tr class="separator:gaf0ea94e3e28b6df4e12fcbe8040293ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c9be5eff818d2c5eb10b35f7b47ee14" id="r_ga3c9be5eff818d2c5eb10b35f7b47ee14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga3c9be5eff818d2c5eb10b35f7b47ee14">append</a> (<a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a> const &amp;other)</td></tr>
<tr class="memdesc:ga3c9be5eff818d2c5eb10b35f7b47ee14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the contents of another data object to the end.  <br /></td></tr>
<tr class="separator:ga3c9be5eff818d2c5eb10b35f7b47ee14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5b3eb1f239a148b1f9b004b12150fddd" id="r_ga5b3eb1f239a148b1f9b004b12150fddd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga5b3eb1f239a148b1f9b004b12150fddd">push_back</a> (typename <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="group__shark__globals.html#ga95ca0435602c7446d1e5120d07f970af">InputType</a> &gt;::type const &amp;<a class="el" href="group__shark__globals.html#ga6f74e657c7e0c8a32b2456fb328bd653">inputs</a>, typename <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="group__shark__globals.html#gafce8ad49b878be9a9a00d43c2f0e7855">LabelType</a> &gt;::type const &amp;<a class="el" href="group__shark__globals.html#ga6328a5aa2570c01a5ac5f25076071663">labels</a>)</td></tr>
<tr class="separator:ga5b3eb1f239a148b1f9b004b12150fddd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7bed012a832b567129949a7844525f3a" id="r_ga7bed012a832b567129949a7844525f3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga7bed012a832b567129949a7844525f3a">push_back</a> (<a class="el" href="group__shark__globals.html#ga4068b98a58ae69560e458afc8f57c511">const_batch_reference</a> <a class="el" href="group__shark__globals.html#ga192f5eced10acf38f3ae723a3c400d98">batch</a>)</td></tr>
<tr class="separator:ga7bed012a832b567129949a7844525f3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga298a81625c3bcd482c3b68daf815c70b" id="r_ga298a81625c3bcd482c3b68daf815c70b"><td class="memTemplParams" colspan="2">template&lt;class Range &gt; </td></tr>
<tr class="memitem:ga298a81625c3bcd482c3b68daf815c70b"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga298a81625c3bcd482c3b68daf815c70b">repartition</a> (Range const &amp;batchSizes)</td></tr>
<tr class="memdesc:ga298a81625c3bcd482c3b68daf815c70b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reorders the batch structure in the container to that indicated by the batchSizes vector.  <br /></td></tr>
<tr class="separator:ga298a81625c3bcd482c3b68daf815c70b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ef8f53cd23e5eb804b9f9dda6b25c31" id="r_ga2ef8f53cd23e5eb804b9f9dda6b25c31"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::size_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga2ef8f53cd23e5eb804b9f9dda6b25c31">getPartitioning</a> () const</td></tr>
<tr class="memdesc:ga2ef8f53cd23e5eb804b9f9dda6b25c31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a vector with the batch sizes of every batch.  <br /></td></tr>
<tr class="separator:ga2ef8f53cd23e5eb804b9f9dda6b25c31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae98f8421736e774da09ea3f15d985cfe" id="r_gae98f8421736e774da09ea3f15d985cfe"><td class="memTemplParams" colspan="2">template&lt;class Range &gt; </td></tr>
<tr class="memitem:gae98f8421736e774da09ea3f15d985cfe"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gae98f8421736e774da09ea3f15d985cfe">reorderElements</a> (Range const &amp;indices)</td></tr>
<tr class="separator:gae98f8421736e774da09ea3f15d985cfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga96ea65352abe5e2c0787e4154a48972f" id="r_ga96ea65352abe5e2c0787e4154a48972f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga96ea65352abe5e2c0787e4154a48972f">shuffle</a> ()</td></tr>
<tr class="memdesc:ga96ea65352abe5e2c0787e4154a48972f"><td class="mdescLeft">&#160;</td><td class="mdescRight">shuffles all elements in the entire dataset (that is, also across the batches)  <br /></td></tr>
<tr class="separator:ga96ea65352abe5e2c0787e4154a48972f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0d1826d38c41637eaaf99b3813ad133" id="r_gae0d1826d38c41637eaaf99b3813ad133"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gae0d1826d38c41637eaaf99b3813ad133">indexedSubset</a> (<a class="el" href="group__shark__globals.html#gaee99a1f7070bf91bd40cd660fc9411b4">IndexSet</a> const &amp;indices) const</td></tr>
<tr class="memdesc:gae0d1826d38c41637eaaf99b3813ad133"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill in the subset defined by the list of indices.  <br /></td></tr>
<tr class="separator:gae0d1826d38c41637eaaf99b3813ad133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-attribs" name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:gad0796fae6f819e8ca309dea4247621be" id="r_gad0796fae6f819e8ca309dea4247621be"><td class="memItemLeft" align="right" valign="top">static const std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gad0796fae6f819e8ca309dea4247621be">DefaultBatchSize</a> = InputContainer::DefaultBatchSize</td></tr>
<tr class="separator:gad0796fae6f819e8ca309dea4247621be"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ga209379fc66f7caed4c18928e854dcf84" id="r_ga209379fc66f7caed4c18928e854dcf84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#ga625c6a82bf244c493a35c90b029f8c87">InputContainer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#ga209379fc66f7caed4c18928e854dcf84">m_data</a></td></tr>
<tr class="separator:ga209379fc66f7caed4c18928e854dcf84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5002076abc056a907733e0dfb6a4710" id="r_gaa5002076abc056a907733e0dfb6a4710"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__shark__globals.html#gaf481fd43ec8fb355cd2cc7f8076b3962">LabelContainer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gaa5002076abc056a907733e0dfb6a4710">m_label</a></td></tr>
<tr class="memdesc:gaa5002076abc056a907733e0dfb6a4710"><td class="mdescLeft">&#160;</td><td class="mdescRight">point data  <br /></td></tr>
<tr class="separator:gaa5002076abc056a907733e0dfb6a4710"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:gaa3cac8411f8423f5de504e86e4ef8291" id="r_gaa3cac8411f8423f5de504e86e4ef8291"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__shark__globals.html#gaa3cac8411f8423f5de504e86e4ef8291">swap</a> (<a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a> &amp;a, <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a> &amp;b)</td></tr>
<tr class="separator:gaa3cac8411f8423f5de504e86e4ef8291"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class InputT, class LabelT&gt;<br />
class shark::LabeledData&lt; InputT, LabelT &gt;</div><p><a class="el" href="classshark_1_1_data.html" title="Data container.">Data</a> set for supervised learning. </p>
<p>The <a class="el" href="classshark_1_1_labeled_data.html" title="Data set for supervised learning.">LabeledData</a> class extends <a class="el" href="classshark_1_1_unlabeled_data.html" title="Data set for unsupervised learning.">UnlabeledData</a> for the representation of inputs. In addition it holds and provides access to the corresponding labels.</p>
<p><a class="el" href="classshark_1_1_labeled_data.html" title="Data set for supervised learning.">LabeledData</a> tries to mimic the underlying data as pairs of input and label data. this means that when accessing a batch by calling batch(i) or choosing one of the iterators one access the input batch by batch(i).input and the labels by batch(i).label</p>
<p>this also holds true for single element access using operator(). Be aware, that direct access to an element is a linear time operation. So it is not advisable to iterate over the elements, but instead iterate over the batches. </p>

<p class="definition">Definition at line <a class="el" href="_dataset_8h_source.html#l00495">495</a> of file <a class="el" href="_dataset_8h_source.html">Dataset.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Data/<a class="el" href="_dataset_8h_source.html">Dataset.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
